package com.huna;
public class StudentTest {

	public static void main(String[] args) {
	//	Student student = new Student(); //实例化学生类
	//    student.setName("肖慧");
	 //   student.setAge(18);
	 //   System.out.println("我叫"+student.getName()+","+"今年"+student.getAge());
	 Student student = new Student("肖慧",18);
	 student.intrude();
	 student.schoolName = "湖南网络工程职业学院";
	 student.speak(); //对象不实例化调用静态代码块
	}

}
